doctype 5
html
  head
    title="HomeCloud"
    link(rel='stylesheet', href='/stylesheets/style.css')
    link(rel='stylesheet', href='/stylesheets/layout.css')
    //link(rel='stylesheet', href='/javascripts/vendor/statusbar/jquery.ui.statusbar.css')
    link(rel='stylesheet', href='/javascripts/vendor/potatomenu/jquery.ui.potato.menu.css')
    script(type='text/javascript', src='http://www.google.com/jsapi')
    script(type='text/javascript)
     google.load("jquery", "1.7");
     google.load("jqueryui", "1.8");
    script(type='text/javascript', src='/javascripts/layout.js')
    script(type='text/javascript', src='/javascripts/vendor/JsonUtil.js')
    script(type='text/javascript', src='/javascripts/vendor/moment/moment.min.js')
    
    link(rel='stylesheet', href='/javascripts/vendor/jsonform/deps/opt/bootstrap.css')
    script(type='text/javascript', src='/javascripts/vendor/jsonform/deps//underscore.js')
    script(type='text/javascript', src='/javascripts/vendor/jsonform/deps/opt/ace/ace.js')
    script(type='text/javascript', src='/javascripts/vendor/jsonform/deps/opt/jsv.js')
    script(type='text/javascript', src='/javascripts/vendor/jsonform/jsonform.js')
    
    //script(type='text/javascript', src='/javascripts/vendor/statusbar/jquery.ui.statusbar.min.js')
    script(type='text/javascript', src='/javascripts/vendor/potatomenu/jquery.ui.potato.menu.js')
    script(type='text/javascript', src='/javascripts/vendor/jquery.jstree.js')
    script(type='text/javascript', src='/javascripts/api.js')
    block header
  body
   
   
     //a(href="javascript:void(0)")="Login"
     //form(action="/login", method="post", id="form-content")
     //    fieldset
     //      legend="Login"
     //      div(class="FieldLabel")="Login"
     //      div(class="FieldItem")
     //       input(type="text", class="Text")
     //      div(class="FieldLabel")"Password"
     //      div(class="FieldItem")
     //        input(type="password", class="Text")
     //      div(class="FieldItem")
     //       input(type="button", value="Login")  
   
   ul#topmenu 
    li
      a(href="/maps")="map"
      ul
        li
         a(href="/maps/edit")="Edit"
    li
      a(href="/charts/")="Charts"
      ul
        li
         a(href="/charts/")="Summary"
        li
         a(href="/charts/temperatures")="Temperature"
        li
         a(href="/charts/energy")="Energy"
    li
      a(href="/devices/tree")="Devices"
      ul
        li
         a(href="/devices/status")="Status"
        li
         a(href="/devices?type=switch")="Switches"
        li
         a(href="/devicse?type=sensor")="Sensors"
        li
         a(href="/devicse?type=meter")="Meters"
        li
         a(href="/devicse?type=thermostats")="Thermostats"
        li
         a(href="/devicse?type=locks")="Locks"
        li
         a(href="/devicse?type=cameras")="Cameras"
        li
         a(href="/configurations")="Configurations"
    //li
    //  a(href="/networks")="Network"
    //  ul
    //    li
    //     a(href="/networks?page=managment")="managment"
    //    li
    //     a(href="/networks?page=routes")="Routing table"
    li
      a(href="/automations")="Automation"
      ul
        li
         a(href="/actions")="Actions"
        //li
        // a(href="/automations?page=climateSchedules")="Climate schedules"
        li
         a(href="/rules")="Rules"
        li
         a(href="/schedules")="Schedules"
        li
         a(href="/zones/states")="Zones states"
    li
      a(href="/experts")="Admin"
      ul
        li
         a(href="javascript:void(0)")="Controller info"
        li
         a(href="/events")="Events"
        li
         a(href="/devices/events")="Device events"
        li
         a(href="javascript:void(0)")="Commands"
        li
         a(href="/admin/configurations")="configurations"
    li
      a(href="#", id="about")="About"
      
   block content
   div#genericDialog
   
   
   
   //div#wrapper
   //  header#header
   //    ="Z-Cloud"
   //  section#middle
   //   div#container
   //    div#content
   //     block content
   //   aside#sideLeft
   //    ="Left"
   //footer#footer
   //    ="Copyright: JVA"